package com.finiac.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

	
		@Entity
		@Proxy(lazy=false)
		@Table(name="student_fee_structure")
public class FeeStructure {
	
	private long id;
	private long admissionNo;
	private String name;
	private String branch;
	private int yearOfAdmission;
	private String feeStructureName;
	private String sex;
	private float tutionFee;
	private float specialFee;
	private float quotionDepo;
	private float refundableDepo;
	private float miscellaneous;
	private String dateLastFee;
	private float total;
	
	
	private float amount;
	private String description;
	private int isActive;
	
	
	
	@Id
	@GeneratedValue
	@Column(name="id")
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	@Column(name="fee_struct_name")
	public String getFeeStructureName() {
		return feeStructureName;
	}
	public void setFeeStructureName(String feeStructureName) {
		this.feeStructureName = feeStructureName;
	}
	@Column(name="admission_no")
	public long getAdmissionNo() {
		return admissionNo;
	}
	public void setAdmissionNo(long admissionNo) {
		this.admissionNo = admissionNo;
	}
	@Column(name="tution_fee")
	public float getTutionFee() {
		return tutionFee;
	}
	
	public void setTutionFee(float tutionFee) {
		this.tutionFee = tutionFee;
	}
	@Column(name="special_fee")
	public float getSpecialFee() {
		return specialFee;
	}
	public void setSpecialFee(float specialFee) {
		this.specialFee = specialFee;
	}
	@Column(name="quotion_depo")
	public float getQuotionDepo() {
		return quotionDepo;
	}
	public void setQuotionDepo(float quotionDepo) {
		this.quotionDepo = quotionDepo;
	}
	@Column(name="refundable_depo")
	public float getRefundableDepo() {
		return refundableDepo;
	}
	public void setRefundableDepo(float refundableDepo) {
		this.refundableDepo = refundableDepo;
	}
	@Column(name="miscellaneous")
	public float getMiscellaneous() {
		return miscellaneous;
	}
	public void setMiscellaneous(float miscellaneous) {
		this.miscellaneous = miscellaneous;
	}
	@Column(name="total")
	public float getTotal() {
		return total;
	}
	public void setTotal(float total) {
		this.total = total;
	}
	@Column(name="date_last_fee")
	public String getDateLastFee() {
		return dateLastFee;
	}
	public void setDateLastFee(String dateLastFee) {
		this.dateLastFee = dateLastFee;
	}
	
	@Column(name="amount")
	public float getAmount() {
		return amount;
	}
	public void setAmount(float amount) {
		this.amount = amount;
	}
	@Column(name="description")
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	@Column(name="is_active")
	public int getIsActive() {
		return isActive;
	}
	public void setIsActive(int isActive) {
		this.isActive = isActive;
	}
	
	
	
	@Column(name="name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name="branch")
	public String getBranch() {
		return branch;
	}
	public void setBranch(String branch) {
		this.branch = branch;
	}
	@Column(name="year_of_admission")
	public int getYearOfAdmission() {
		return yearOfAdmission;
	}
	public void setYearOfAdmission(int yearOfAdmission) {
		this.yearOfAdmission = yearOfAdmission;
	}
	@Column(name="sex")
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public FeeStructure(long admissionNo,String name,String branch,int yearOfAdmission,String sex,
			float tutionFee,float specialFee,float quotionDepo,float refundableDepo,float miscellaneous,
			String dateLastFee,float total,float amount,String description)
	{
		this.admissionNo = admissionNo;
		this.name = name;
		this.branch = branch;
		this.yearOfAdmission = yearOfAdmission;
		this.sex = sex;
		this.tutionFee = tutionFee;
		this.specialFee = specialFee;
		this.quotionDepo = quotionDepo;
		this.refundableDepo = refundableDepo;
		this.miscellaneous = miscellaneous;
		this.dateLastFee = dateLastFee;
		this.total = total;
		this.amount = amount;
		this.description = description;
		this.isActive=1;
	}
	
	public FeeStructure(){}
	
	}
